package com.ebc.eservice.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author joey
 * @since 2022-09-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EbcMenu对象", description="")
public class EbcMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "动态权限")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    @ApiModelProperty(value = "主菜单子菜单")
    private Integer pid;

    @ApiModelProperty(value = "路由")
    private String path;

    @ApiModelProperty(value = "组件vue")
    private String component;

    @ApiModelProperty(value = "图标")
    private String icon;

    private Integer createId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Integer updateId;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
